package com.xbongbong.paas.manager.feign;

import com.xbongbong.paas.pojo.dto.ExportFormatValueDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author WuHB
 * @date 2022/11/16 18:39
 */
@FeignClient(name = "xbb-work-order-web", contextId = "workOrderImportClient")
public interface WorkOrderImportClient {

    /**
     * 格式化导出值
     *
     * @param subFromDataGetDTO formGetDto
     * @param lang       lang
     * @return 打印模板字段
     */
    @RequestMapping(value = "/pro/v1/workOrderV2/common/formatExportValue", method = RequestMethod.POST)
    String formatExportValue(ExportFormatValueDTO subFromDataGetDTO, @RequestParam("lang") String lang);
}
